package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.CheckOutListContent;

/**
 * 对象功能:
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: HuXiaoDan
 * 创建时间: 2017/3/3 11:12
 */
public class CheckOutActivity extends SingleFragmentActivity {
  @Override protected Fragment createFragment() {
    CheckOutListContent content =
        (CheckOutListContent) getIntent().getSerializableExtra(CheckOutNewFragment.EXTRA_CONTENT);
    String pid = getIntent().getStringExtra(CheckOutNewFragment.EXTRA_PID);
    String ifLaterWrite = getIntent().getStringExtra(CheckOutNewFragment.EXTRA_IFLATERWRITER);
    String from = getIntent().getStringExtra(CheckOutNewFragment.EXTRA_FROM);
    return CheckOutNewFragment.newInstance(content, pid, ifLaterWrite, from);
  }
}